home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / Snippets / Development Tools & Languages / AEGestalt 1.0 / UAEDocument.h < prev    next >
Encoding:
Text File  |  1992-07-15  |  1.5 KB  |  74 lines  |  [TEXT/MPS ]

  1. //     UAEDocument.h
  2. //     Copyright © 1991-92 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TAEDocument class, the basic TDocument
  5. //    class used in the application.
  6. //
  7. //    <1>        khs        1.0        First final version
  8.  
  9.  
  10. #ifndef __AEDOCUMENT__
  11. #define __AEDOCUMENT__
  12.  
  13. //    INCLUDE FILES
  14. #ifndef __AEGESTALT__
  15. #include "UAEGestalt.h"
  16. #endif
  17.  
  18. #ifndef __UINFORMATIONVIEW__
  19. #include "UInformationView.h"
  20. #endif
  21.  
  22. #ifndef __LABELVIEW__
  23. #include "ULabelView.h"
  24. #endif
  25.  
  26. #ifndef __LOOKUPCOMMAND__
  27. #include "ULookupCommand.h"
  28. #endif
  29.  
  30. #ifndef __AECLIENTCOMMAND__
  31. #include "UAEClientCommand.h"
  32. #endif
  33.  
  34. //    FORWARDING
  35. class PascalObj TLabelView;
  36. class PascalObj TInformationView;
  37.  
  38.  
  39. //    CLASSES
  40. class TAEDocument : public TDocument
  41. {
  42. public:
  43.     TAEDocument();
  44.     virtual pascal void IAEDocument();
  45.     virtual pascal void Free();
  46.  
  47.     virtual pascal void DoMakeViews(Boolean        /*forPrinting*/);
  48.     virtual pascal void DoEvent(EventNumber eventNum,
  49.                                 TEventHandler* source,
  50.                                 TEvent* event);
  51.  
  52.  
  53.     virtual pascal void GetAEGestaltAddress(AEAddressDesc&);
  54.  
  55.     virtual pascal void DoSetupMenus();
  56.     virtual pascal void DoMenuCommand(CommandNumber theNumber);
  57.  
  58.     virtual pascal void ReadConfiguration(Configuration*);
  59.     virtual pascal void ProcessAEInformation();
  60.  
  61.     //    FIELDS
  62.     TLabelView* fLabelView;
  63.     TInformationView* fInfoView;
  64.     TStaticText* fInfoField;
  65.     TButton* fFindButton;
  66.     TButton* fReportButton;
  67.     AEAddressDesc fAEGestaltAddress;
  68.     Configuration* fConfigurationInfo;
  69.     Boolean fOKNode;
  70. };
  71.  
  72. #endif __AEDOCUMENT__
  73.  
  74.